#ifndef BSP_UART_H_INCLUDED
#define BSP_UART_H_INCLUDED

/**
  * @addtogroup BSP_UART
  * @{
  */

#define UARTX                   USART2
#define UART_PIN_PORT           GPIOA
#define UART_PIN_TX             GPIO_PIN_2
#define UART_PIN_RX             GPIO_PIN_3
#define UART_PORT_CLKEABLE      __HAL_RCC_GPIOA_CLK_ENABLE
#define UART_CLKEABLE           __HAL_RCC_USART2_CLK_ENABLE

void BSP_UART_Init(uint32_t baudrate);

/**
  * @}
  */

#endif /* BSP_UART_H_INCLUDED */
